package com.blogspot.javagamexyz.gamexyz.custom;

import com.badlogic.gdx.scenes.scene2d.ui.Skin;

//Custom label class which allows for the LabelText to be modified (which can be done anyway in Lagel so fuck this)

//not needed, delete
public class Label2 extends com.badlogic.gdx.scenes.scene2d.ui.Label {

	private String text;
	
	public Label2(CharSequence text, Skin skin) {
		super(text, skin);
		this.text = text.toString();
	}
	
	public void act(final float delta){
		this.setText(text);
		super.act(delta);
	}
	
	public void updateText(final String text){
		this.text = text;
	}

}
